package com.bw.user.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName FeignGoodsServer
 * @Author Hao_YunKai
 * @Date 2022/3/1 19:28
 */
@FeignClient("goods")
public interface FeignGoodsServer {

    @RequestMapping("goods/seckillactivity/setSeckillStock/{goodsId}/{num}")
    Integer setSeckillStock(@PathVariable("goodsId") Long goodsId, @PathVariable("num") Integer num);
}
